package com.ruoyi.system.domain.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.ruoyi.system.domain.dto.UserBaseInfoDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 关系记录（关注、收藏、点赞）视图对象 bs_relation
 *
 * @author ruoyi
 * @date 2023-11-25
 */
@Data
@ApiModel(value = "关系记录（关注、收藏、点赞）对象实体")
public class BsRelationVO implements Serializable {

    private static final long serialVersionUID = -6702974309969284020L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id")
    private Long id;

    @ApiModelProperty(value = "customer_attention游客关注  strategy_like攻略点赞 strategy_collect攻略收藏")
    private String type;

    @ApiModelProperty(value = "创建人id")
    private Long createById;

    @ApiModelProperty(value = "目标id")
    private String aimId;

    @TableLogic(value = "0", delval = "1")
    @ApiModelProperty(value = "逻辑删除字段 0：正常 1：删除")
    private String delFlag;

    @ApiModelProperty(value = "创建人信息")
    private UserBaseInfoDTO createUserInfo;

    @ApiModelProperty(value = "1.关注列表：代表该用户是否也关注了我 \n" +
            "2.粉粉丝列表：代表我是否关注了该用户")
    private Boolean attentioned;

}
